<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>alufunctions</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab keyword</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>alufunctions</b> - pixel drawing functions</p>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    src is the source ie the "value of the pixel" which we want to draw.
    dst is the destination ie "value of the pixel" which is already drawn.</p>
    <dd>
      <li>
        <b>
          <font color="maroon">0</font>
        </b>: clear ie "0"</li>
      <li>
        <b>
          <font color="maroon">1</font>
        </b>: and ie "src AND dst"</li>
      <li>
        <b>
          <font color="maroon">2</font>
        </b>: and reverse ie "src AND NOT dst"</li>
      <li>
        <b>
          <font color="maroon">3</font>
        </b>: copy ie "src"</li>
      <li>
        <b>
          <font color="maroon">4</font>
        </b>: and inverted ie "(NOT src) AND dst"</li>
      <li>
        <b>
          <font color="maroon">5</font>
        </b>: noop ie "dst"</li>
      <li>
        <b>
          <font color="maroon">6</font>
        </b>: xor ie "src XOR dst"</li>
      <li>
        <b>
          <font color="maroon">7</font>
        </b>: or ie "src OR dst"</li>
      <li>
        <b>
          <font color="maroon">8</font>
        </b>: nor ie "(NOT src) AND (NOT dst)"</li>
      <li>
        <b>
          <font color="maroon">9</font>
        </b>: equiv ie "(NOT src) XOR dst"</li>
      <li>
        <b>
          <font color="maroon">10</font>
        </b>: invert ie "NOT dst"</li>
      <li>
        <b>
          <font color="maroon">11</font>
        </b>: or reverse ie "src OR (NOT dst)"</li>
      <li>
        <b>
          <font color="maroon">12</font>
        </b>: copy inverted ie "NOT src"</li>
      <li>
        <b>
          <font color="maroon">13</font>
        </b>: or inverted ie "(NOT src) OR dst"</li>
      <li>
        <b>
          <font color="maroon">14</font>
        </b>: nand ie "(NOT src) OR (NOT dst)"</li>
      <li>
        <b>
          <font color="maroon">15</font>
        </b>: set ie "1"</li>
    </dd>
  </body>
</html>
